<?php

use console\db\Migration;
use yii\db\Query;

/**
 * 格式化大屏
 * 
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class m300200_100043_t_update_activity_screen extends Migration {

    /**
     * @inheritdoc
     */
    public $tableName = '{{%activity}}';

    /**
     * @inheritdoc
     */
    public function safeUp() {
        $this->update($this->tableName, ['type' => 'screen'], ['type' => 'collection']);
    }

}
